<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<select name="se" onchange="site()">
			<option value="">请选择网址</option>
			<option value="http://www.taobao.com">淘宝</option>
			<option value ="http://www.163.com">网易</option>
			<option value ="https://www.huya.com">虎牙</option>
		</select>
	</body>
	<script type="text/javascript">
		function site(){
			var siteValue=document.getElementsByName('se')[0].value;
			// console.log(siteValue);
			location.href='siteValue'
		}
	</script>
</html>
